/**
 * 毕业生管理
 */

import request from "@/utils/request.js";

// 列表
export function getDegreescoreListApi(params) {
  return request({
    url: "/admin/grade/list",
    method: "POST",
    params,
  });
}


// 导出
export function exportEegreescoreListApi(params) {
  return request({
    url: "/admin/grade/export",
    method: "POST",
    responseType: 'blob',
    params
  });
}

// 导入
export function ImportEegreescoreApi(data) {
  return request({ 
    ContentType: 'multipart/form-data',
    url: "/admin/grade/importData",
    method: 'POST', 
    params:data
  })
}

// 性别
export function classifySexApi(data) {
  return request({ 
    url: "/edu/typeData/list",
    method: 'POST', 
    params:data
  })
}

// 学年学期
export function schoolYearSemesterListApi(data) {
  return request({ 
    url: "/edu/schoolYearSemester/list",
    method: 'POST', 
    params:data
  })
}


// 详细
export function getDegreescoreItemApi(data) {
  return request({ 
    url: "/admin/grade/findById",
    method: 'POST', 
    params:data
  })
}

// 新增
export function addDegreescoreItemApi(data) {
  return request({ 
    url: "/admin/grade/add",
    method: 'POST', 
    params:data
  })
}